
Groot DeStefano
Brave Newbies Inc. Brave Squids
0
|
Posted - 2015.10.26 15:50:43 -
[2] - Quote
System.AggregateException HResult=-2146233088 Source=mscorlib StackTrace: bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) bei System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) bei System.Threading.Tasks.Task`1.get_Result() bei eZet.EveLib.EveCrestModule.EveCrest.Load[T](Href`1 uri) bei eZet.EveLib.EveCrestModule.Models.Resources.CrestResource`1.Query[TOut](Func`2 objFunc) bei ConsoleApplication4.Test.Main(String[] args) in C:\Users\***\Documents\Visual Studio 2015\Projects\ConsoleApplication4\ConsoleApplication4\Program.cs:Zeile 76. bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() InnerException: HResult=-2146233088 LineNumber=1 LinePosition=694 Message=JSON integer 4294091884 is too large or small for an Int32. Path 'items[0].id', line 1, position 694. Path=items[0].id Source=Newtonsoft.Json
var crest = new EveCrest(); var root = crest.GetRoot(); var theForge = crest.GetRoot().Query(r => r.Regions).Query(r => r.Where(x => x.Name == "The Forge")).First(); theForge.MarketBuyOrders += "?type=https://public-crest.eveonline.com/types/34/"; var allbuys = theForge.Query(c => c.MarketBuyOrders).Items.ToList();
With "?type=https://public-crest.eveonline.com/types/2/"; the code is running...
P.S. AllItems is not working. |